Optimizing Maintenance of Constraint-Based Database Caches
نویسندگان
چکیده
Caching data reduces user-perceived latency and often enhances availability in case of server crashes or network failures. Database caching aims at local processing of specific declarative queries in a DBMSmanaged cache close to the application. Query evaluation must produce the same results as if done at the remote database backend, which implies that all data records needed to process such a query must be present and controlled by the cache, i. e., to achieve “predicate-specific” loading and unloading of such record sets. Using cache constraints, the cache manager applies maintenance operations to appropriate record sets, called caching unit. In this way, the cache manager can, at any point in time, guarantee “predicate completeness” of the caching units currently present. We explore how cache groups can be maintained to provide the data currently needed. For various cache configurations, we design and optimize loading and unloading algorithms for sets of records keeping the caching units complete. Furthermore, we empirically identify the costs involved for this kind of cache maintenance.
منابع مشابه
Query Processing in Constraint-Based Database Caches
Database caching uses full-fledged DBMSs as caches to adaptively maintain sets of records from a remote DB and to evaluate queries on them, whereas Web caching keeps single Web objects ready somewhere in caches in the user-to-server path. Using DB caching, we are able to perform declarative and setoriented query processing nearby the application, although data storage and consistency maintenanc...
متن کاملTowards Providing Complete Knowledge in Constraint-based Database Caching
Database caching accelerates access to frequently requested data of a remote database (backend) by keeping subsets of records close to applications. Thereby, the constraint-based approach primarily uses constraints to determine what predicate extensions are complete and which queries can be answered. Equipping the backend with so-called complete knowledge about the caches’ configurations enable...
متن کاملOptimizing the preventive maintenance scheduling by genetic algorithm based on cost and reliability in National Iranian Drilling Company
The present research aims at predicting the required activities for preventive maintenance in terms of equipment optimal cost and reliability. The research sample includes all offshore drilling equipment of FATH 59 Derrick Site affiliated with National Iranian Drilling Company. Regarding the method, the research uses a field methodology and in terms of its objectives, it is classified as an app...
متن کاملOptimizing XML data with view fragments
As web-based applications and data continue to grow, large caches of XML data will result in many application domains. In sensor web applications, there are continuous streams of sensor data being generated, converted to XML and stored for domain queries and data mining purposes. The main problem with these XML caches is that existing XML database queries are very slow, especially for large dat...
متن کاملOptimizing Distributed Integrity Constraints
Database integrity constraints can be extremely expensive to maintain unless attention is paid to the problem during the design of the database. In the case of distributed databases, and particularly in the case of heterogeneous databases, the problems associated with constraint maintenance are even more acute. We lay the basis for an designtime tool that derives sufficient conditions from the ...
متن کامل